package cn.jetpiece.cloud.joss.api.accossor.model.query;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import cn.jetpiece.cloud.model.page.PageQuery;

/**
 * <p>
 * 授权分页查询条件
 * </p>
 *
 * @author XuJZ
 * @since 2020-09-05
 */
@Data
@ApiModel
@EqualsAndHashCode(callSuper = true)
public class AccessorQuery extends PageQuery {


    /**
     * UUID
     */
    @ApiModelProperty(value = "UUID")
    private String id;

    /**
     * 默认桶名称
     */
    @ApiModelProperty(value = "默认桶名称")
    private String defaultBucketName;

    /**
     * 默认对象前缀路径
     */
    @ApiModelProperty(value = "默认对象前缀路径", example = "/HCC/Range/")
    private String defaultObjectPrefixPath;

    /**
     * 系统名称
     */
    @ApiModelProperty(value = "系统名称")
    private String accessorName;

    /**
     * 公钥
     */
    @ApiModelProperty(value = "公钥")
    private String accessKey;

    /**
     * 启用(1:是,0:否)
     */
    @ApiModelProperty(value = "启用(1:是,0:否)")
    private Integer isEnable;
}
